package com.hx.entry;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hx.validator.DictValue;
import lombok.Data;

/**
 * 装备
 */
@Data
public class ExcelFieldOfEquipment {
    @ExcelIgnore
    private Integer baseId;
    @ExcelIgnore
    private Integer rowNum;

    @ExcelProperty(index = 0)
    private String serialNumber;
    @ExcelProperty(index = 1)
    @DictValue(key = "equipment_categray", matchType = DictValue.MatchType.NAME, message = "型谱类别")
    //@ListValue(vals = {"指挥训练类", "实兵演练类", "装备模拟类", "专业基础类", "组训器材类", "改制装备类"}, message = "[型谱类别](指挥训练类/实兵演练类/装备模拟类/专业基础类/组训器材类/改制装备类)")
    private String equipmentCategray;
    @ExcelProperty(index = 2)
    private String equipmentCategrayName;
    @ExcelProperty(index = 3)
    @DictValue(key = "equipment_type", matchType = DictValue.MatchType.NAME, message = "类型")
    //@ListValue(vals = {"训练装备", "训练器材"}, message = "[类型](训练装备/训练器材)")
    private String equipmentType;
    @ExcelProperty(index = 4)
    private String equipmentName;
    @ExcelProperty(index = 5)
    private String equipmentModel;
    @ExcelProperty(index = 6)
    private Integer standardNum;
    @ExcelProperty(index = 7)
    private Integer realNum;
    @ExcelProperty(index = 8)
    private String parentUnit;
    @ExcelProperty(index = 9)
    private String managementUnit;
    @ExcelProperty(index = 10)
    @DictValue(key = "org_level", matchType = DictValue.MatchType.NAME, message = "编制级别")
    //@ListValue(vals = {"正军级", "副军级", "正师级", "副师级", "正团级", "副团级", "正营级", "副营级", "正连级", "副连级及以下"}, message = "[编制级别](正军/副军/正师/副师/正团/副团/正营/副营/正连级/副连级及以下)")
    private String organizationLevel;
    @ExcelProperty(index = 11)
    private String province;
    @ExcelProperty(index = 12)
    private String city;
    @ExcelProperty(index = 13)
    private String district;
    @ExcelProperty(index = 14)
    @DictValue(key = "protecte_source", matchType = DictValue.MatchType.NAME, message = "保障来源")
    //@ListValue(vals = {"本级自购", "上级配发"}, message = "[保障来源](本级自购/上级配发)")
    private String protecteSource;
    @ExcelProperty(index = 15)
    private String developmentUnit;
    @ExcelProperty(index = 16)
    private String enableTime;
    @ExcelProperty(index = 17)
    private Integer useYear;
    @ExcelProperty(index = 18)
    private String deviceStatus;
    @ExcelProperty(index = 19)
    private String mainApplications;
    @ExcelProperty(index = 20)
    private String mainParameterIndicators;
    @ExcelProperty(index = 21)
    private String useObjects;
    @ExcelProperty(index = 22)
    private String trainingCapacity;
    @ExcelProperty(index = 23)
    @DictValue(key = "share_property", matchType = DictValue.MatchType.NAME, message = "共享属性")
    //@ListValue(vals = {"可共享共用", "不可共享共用"}, message = "[共享属性](可共享共用/不可共享共用)")
    private String shareProperties;
    @ExcelProperty(index = 24)
    private String remark;
}